<div class="content">
	<table style="width:100%">
		<tr>
			<td valign="top" style="border-right: 1px solid #dedede; width: 250px;">
				<nav class="navbar navbar-vertical navbar-light">
					<div style="width: 100%;">
						<div style="color: #3c76ff;font-weight: bold;">分组</div>
						<div class="clearfix" style="margin-top: 10px;">
							<nav>
								<ul id="groupTree" class="ztree subtree"></ul>
							</nav>
						</div>
					</div>
				</nav>
			</td>
			<td valign="top" style="border-right: 1px solid #dedede; width: 250px;">
				<nav class="navbar navbar-vertical navbar-light" style="max-height: 810px;overflow: auto;">
					<div style="width: 100%;">
						<div style="color: #3c76ff;font-weight: bold;">角色</div>
						<ul class="navbar-nav" style="width: 100%;">
							<div style="clear: both;" class="collapse show"
								 id="sidebarLayouts{{groupVo.id}}">
								<ul class="nav nav-sm flex-column">
									<li class="nav-item typeone yl" style="height: 35px;"
										ng-repeat="roleVo in roles">
										<a href="#sidebarDashboard{{roleVo.id }}"
										   ng-click="checkMenu(roleVo,roleVo.type)" class="nav-link"
										   style="max-width:200px;overflow: hidden; white-space: nowrap; text-overflow: ellipsis; float: left;"
										   data-toggle="collapse" role="button" aria-expanded="true"
										   aria-controls="sidebarDashboard{{roleVo.id }}"> &nbsp;
											&nbsp; <i class="iconfont icon-user"></i>&nbsp; {{roleVo.name}}
										</a>
									</li>
								</ul>
							</div>
							<li class="nav-item d-md-none"><a class="nav-link"
															  href="#sidebarModalActivity" data-toggle="modal"> <span
									class="iconfont icon-bell"></span> Notifications
							</a></li>
						</ul>
					</div>
				</nav>
			</td>
			<td valign="top">
				<div ng-show="show" style="margin-left: 20px;">
				<span style="font-size: 22px; line-height: 50px;float: left;">
					<i class="fe" style="margin-top: 14px; float: left;margin-right: 10px;"
					   id="{{controllerName}}_th">
					</i>&nbsp;{{row_name}}
				</span>

					<div class="float-right ng-scope">
						<button id="{{controllerName}}_user_tea" style="display: none;" ng-click="add(fk_role,type)" type="button"
								class="btn btn-primary">
							<i class="iconfont icon-add"></i>&nbsp; 添加教师
						</button>

						<button id="{{controllerName}}_user_stu" style="display: none;" ng-click="addstudent(fk_role,type)" type="button"
								class="btn btn-primary">
							<i class="iconfont icon-add"></i>&nbsp; 添加学生
						</button>

						<button ng-click="delete()" type="button"
								class="btn btn-danger">
							<i class="iconfont icon-delete"></i>&nbsp; 移除
						</button>
					</div>
					<div class="div-table" style="margin: 0; width: 100%;">
						<form class="div-find form-inline ng-pristine ng-valid ng-scope">
							<div class="form-group" ng-show="form.unitshow&&form.attach">
								<label class="form-label">校区：</label>
								<select class="form-control" ng-options="unit.id as unit.showname for unit in unitList" ng-model="dataInfo.fk_unit" ng-change="find()">
									<option value="">==请选择==</option>
								</select>
							</div>
							<div class="form-group">
								<label class="form-label">姓名：</label>
								<input ng-model="form.name" type="text" class="form-control" placeholder="姓名" ng-change="find()"/>
							</div>
							<div class="form-group">
								<label class="form-label">身份证号：</label>
								<input ng-model="form.id_crad" type="text" class="form-control" placeholder="身份证号" ng-change="find()"/>
							</div>
						</form>
						<table class="table table-hover table-bordered">
							<thead>
							<tr>
								<th class="table-th-checkbox"><input type="checkbox"
																	 ng-click="checkAlls($event.target)" /></th>
								<th column="name" class="sorting" ng-click="order($event.target)">姓名</th>
								<th column="sfzjh" class="sorting" ng-click="order($event.target)">身份证号</th>
								<!-- <th column="phone" class="sorting" ng-click="order($event.target)">手机号</th> -->
							</tr>
							</thead>

							<tbody ng-switch on="page.current_num">
							<tr ng-switch-when="0">
								<td colspan="100">查询无记录</td>
							</tr>
							<tr ng-repeat="row in rows" ng-click="optData($event.currentTarget)">
								<td><input type="checkbox" name="dataPk" value="{{row.id}}" />
								</td>
								<td>{{row.name}}</td>
								<td>{{row.id_crad}}</td>
								<!-- <td>{{row.phone}}</td> -->
							</tr>
							</tbody>
						</table>
					</div>
					<div ng-include="'plugin/frame/3.0.1/html/page.html'" class="div-page" ></div>
				</div>
			</td>

		</tr>
	</table>
</div>